﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace AppSocketModel
{
    /// <summary>
    /// 企业/公司模型
    /// </summary>
    [BsonIgnoreExtraElements]
    public class CompanyDto
    {
        /// <summary>
        /// 公司Id
        /// </summary>
        public int CompanyId { set; get; }


        /// <summary>
        /// 账户注册码
        /// </summary>
        public string AccountRegisterCode { set; get; }

        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { set; get; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime ModifyTime { set; get; }


        /// <summary>
        /// 修改人
        /// </summary>
        public string ModifyAccountCode { set; get; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { set; get; }
        
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateAccountCode { set; get; }


        /// <summary>
        /// 开启数据转发
        /// </summary>
        public bool IsRelay { set; get; }

    }
}
